package com.empire.module.member.controller.admin.warninggatherperson.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;

import org.checkerframework.checker.units.qual.C;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 聚集预警参与人员关联表（1条记录对应1人参与1次聚集） Response VO")
@Data
@ExcelIgnoreUnannotated
public class WarningGatherPersonRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "28045")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "聚集预警ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22298")
    @ExcelProperty("聚集预警ID")
    private Long gatherId;

    @Schema(description = "参与人员ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3769")
    @ExcelProperty("参与人员ID")
    private Long personId;

    @Schema(description = "参与人员姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "3769")
    @ExcelProperty("参与人员姓名")
    private String personName;

    @Schema(description = "参与人员身证件号码", requiredMode = Schema.RequiredMode.REQUIRED, example = "3769")
    @ExcelProperty("参与人员证件号码")
    private String idNumber;

    @Schema(description = "预警时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预警时间")
    private LocalDateTime createTime;

    @Schema(description = "经度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("经度")
    private BigDecimal lng;

    @Schema(description = "纬度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("纬度")
    private BigDecimal lat;

    @Schema(description = "定位地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("定位地址")
    private String address;

    @Schema(description = "定位时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("定位时间")
    private String locationTime;

    @Schema(description = "阅读标记：0-未读，1-已读", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer isRead;
}